added judges and fixed minor bugs
cleaned up and prettified html markup