sameGame WPI task 2