added to beginning of writeup and began implementation details