converting sentence to list form