Added solution for Ex-09 1 subtask