This gem can generate Ulam spiral and also shows result on console