Fixed equality operator (added function support) passing 5 autograder tests