2 computing algorithms fully implemented