Additional line breaks

Added line breaks between function definitions within functions. Also, technically, there should be two blank lines between top-level function declarations, but I think it looks with just one.