Basics of instanceof, extend

Low quality stuff :(