+ Renamed some variables + Added some comments + Arranged the code + Minor optimizations ( don't think that they worth to be listen here )