Add solution to problem 027
Add notes on future optimisations