setting up coinflip implementation

will be looking into AJAX to intercept the onclick and perform the
coinflip then.