added readme, modify split to take argument