updated readme
renamed keyword 'def' to 'func'