created algorithm file, updated readme