Made few changes to follow python coding standards.