renamed splitat to split_at
added some documentation