DRY'd up katas/lowCeiling.js