Tidied and made example graph

Tidied results.php, moved some html to the tpl file, implemented graph
again (it can grab candidate names, just need to work out the similarity
values now)