Solved some more UVa problems