lab code cleaned and finished. Latex document started