First problem completed - find the mode of an array