Added todos for the compare.py

Added test_compare.py for testing
simplified the find() function
simplified the find() function for realzies