Added Mastermind.java

A little messy, but it should give the overall implementation idea.  Now
to attempt in MIPS.