Added JavaDoc, created class UtilMethods to provide utility methods for AIs in order to calculate cell value