working, needto know when player has won. Also need to get rid of duplicates in my stack. gonna replace stack array with assoc. array