Rewrote the logic to use ArrayLists and char[]

This made the program go from 2,8 to 2,1 in execution time
Fixed a minor commenting error