Answers to week 1 q 1-6 and started working on perceptron