added escape sequence to calculateWinLose() function.