created algorithm package