Java implementation of Master Mind.