Ruby solution for UCSC liftover