written parse method which parses a text and turns into tokens
written tests for parse and updated tokens