replaced every occurrence of string.len with #

`#` is an operator, and is therefore faster to use than calling a function, such as string.len. So this is just a really small insignificant optimization, but meh here you go