solved some questions

Completed solutions for all questions.