Try to implement variable types in GetValue

This may allow course authors to use any builtin python type as the
desired value in GetValue