Added the MIT license and made sure that there is no bugs :)

Signed-off-by: NullAmbitions <NullAmbitions@gmail.com>