Matalb Code for OO Programming