Complete assignment-4 optional questions