Added base conversion to interpreter and wrote a mode testing experiment

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>