Assignment 2 for Advanced web, a slot machine game.