Tealeaf Lesson 2 TTT assignment, implemented a simple hash function to check win