Solution for Diamantes (http://dojopuzzles.com/problemas/exibe/diamantes) challenge