Reworked the get_groups function.
Reworked the get_groups function.

picoCTF/picoCTF-web,cganas/picoCTF-web,cganas/picoCTF-web,picoCTF/picoCTF-web,cganas/picoCTF-web,cganas/picoCTF-web,picoCTF/picoCTF-web,picoCTF/picoCTF-web