Fixed typos

Fixed grammar and code typos :)