Question 5

Added win and lose states