Coding challenge to create numeric diamonds