added Rules#gameover
updated Main
added method to prevent updating a filled cell