Adds mastermind and adds exception handling