Removed errors from code
update gitignore