Re-wrote horizontal group detection to remove error that was letting color groups go undetected
Horizontal group detection now uses more flag-based system, making logic easier to follow and debug
Discovered detection error was actually in board rejection logic, which accepted when it should have rejected, which is now corrected
Altered vertical group detection to more closely match style of horizontal detection, and fix bugs
Status: detection now works correctly and erroneous boards are not accepted