Merged with greg branch. Added method header comment template
Various helper methods added. isBoardValid method added