Added:
Empty constructor.
Length tracking through getLength().
setNextColour() function.
askAttempt() function now exists (untested)
in conjunction with the way the Code class works, should be robust
enough to accept any input and take the first 4 valid letters as code,
or not find 4 valid letters and ask for new input.
rewrote, should be less silly ;)