fix ruby errors in prototypes.md

The Queue example in ruby had a stray paren and a use of null instead of nil.

Also I'm not sure why !! is needed in Queue#isEmpty - the < operator will always return true/false. But I haven't changed that because I'm not sure.