Grade school exercise | 1st iteration