added support for ruby programs that call other classes and one to one instance variables, added test cases