added List.Nth
move Reverse from List to Seq
added Flatten