added and completed problems 1-4 and 6 for conditionals.