Codecastle Challenge 2 Example Solution