lab4 code done. tex started