Simple payroll calculator using SWIG