add [] syntactic sugar to Assignment object

previously one had to do params.get(.) and params.set(., .) to get and
set random variables. Now you can simply say params[.] and params[.] = .
bug fixes to Experiment::get() in ruby