Updating readme to help install dependencies. Fixing define function keyword handling