Licensense and small changes

The MIT license was added to the project.
There were small additions to the code.
The [] operator now works ans it is suposed to work.
The method first was created.
TODO has a new list of tasks to be done.