Added endgame win and loose and logging

Added endgame win and loose handling as well as logging for the played
turns and exit button
Fixed (Maybe) a bug with double adding in the attackers set