Implement a simple chessgame in python