Add initialize, handleClick and getRandomColour functions.