add 'str' function, move it and other methods to 'primatives.R'
Move arithmatic and ] into primatives