Update to get different colours when OK and Error

Both the parts with only one number and random numbers are updated with
green and red colours on OK and Error. Some tests to use different
colours in some Java-files.