Over9000Rocks solution - another beautiful one