A little editing

Hi, I've made the code a little cleaner and a little easier to read. In addition, i've it wrote so that signing strings runs concurrently. This will improve its performance.