Ruby Artificial Intellegence Project, with many typos.