started working on algorithm

made a new file, barely starting out