Fixed some incorrect syntax with list slicing

When slicing the syntax is `list[start:end:step]` with it assuming start and end with only two arguments.