add algorithm file