updated logic, added show message method in main, updated validator for white pawns