Memory game and input class begins