first draft of implementation.
Started revision of mathematical part.
Included references and hilbert curve pdfs.