added functions for salary calculator

Added functions and variables for salary calculator