A basic implementation of chess