holeDetection file now contains complete board and hole detection code