added answers to questions
implemented linear approximator
implemented gradient-descent learning algorithm