code done, finishing writeup and documentation