enter method: pressing enter after typing text

Since user will probably be entering commands a lot, I thought this was an easier way to do it instead of using the ```type``` method.