Increased the speed by 0.000000000001 sec.Used UltraJSON Library and refactored some loops