Simplified knights tour java program for CS265 class