Adding first Python algorithms