migrated common algorithms from practice repo to separate repo called common_algorithms