Problem
Define a function safetail:: [a] -> [a] that behaves like tail except that it maps [] to [] (instead of throwing an error). Using tail and isEmpty :: [a] -> Bool, define safetail using
i. a conditional expression.
ii. guarded equations.
iii. pattern matching.