add note about function inputs being referred to as arguments or parameters
fix some minor issues in sections 3,4 and 6