Added solution for Ex-06 1 subtask