Added solution for Sort 1 (PP0506A)