Added pseodo code for each question