my attempts at solving uVA problems