added learning algorithm to lineworld
adding gitignore file