Created method getUnitsInAttackRange in gameBoard, needs to be tested
however