A simple chess program in fortran 90