Adding fromLeft, fromRight and eitherToMaybe helper functions