Finished problem 23 - bug fixed