Added decimal spaces function with main