--Take from the end of a list
takeEnd :: Int -> [a] -> [a]
takeEnd n l = reverse $ take n $ reverse l
takeEnd :: Int -> [a] -> [a]
takeEnd n l = reverse $ take n $ reverse l
takeEnd n l = reverse $ take n $ reverse l