win and lose now added to gui
better way of calculating points