Added code to validate integers and doubles using the Python interpeter routine