Problems from the UVa Online Judge done for practice