uva 10065 useless tile packers WORKING with graham scan