Organizing code in assignment folders and optimization functions and algorithms