making ui and some edit

ui for result and some template for algorithms