Algorithms file - beginning