Made first optimization: took variable calculation outside of loop
Added notes file for project