all code of udacity algorithm class