added solution to UVa 11456-Trainsorting