Moved algorithm.md to docs folder. Adding missing documentation to the join algorithm.