Found out about join and __eq__ !!!!

no more 5 nested if statements and nested for loops :D