Updated main
Tests updated for tuples instead of lists