Style refactor
Add substring count and prune functions
Implement nucleotide counter
Remove string iterator and related functions because I dont need them