Capitalized total in grade file
Added variable support to Python files
Changed sample files to use Python variable