Change to be consistent with PEP-8 coding style

use two blank lines between functions
use space after comma