Added tabulations in algorithms