modify makefiles and add uva solution