Added overloaded getProbability() that can take in the observed values. Created Node class.