Second rewrite of Master Mind