Implimentation of a small board game using jFrame