fixed paragraph-indentation function, now it will end properly(when found empty line)