Mastermind.cpp almost finished