add algorithm files