Updated foldr

Made the type match foldl