added solution to UVa 12455-Bars