adds prototype and implementation querying by name

hey @rakhimov, this should add the querying capability you need. you'll need to add a field on the predator class to set the prey it can eat, and then query the context for how many prey there are. if you find anything to fix, feel free to do so.