Assignment 5: Helpful Hints Solution