added mastermind.c