Added even number optimisation to problem 007