Object Oriented Programming in Physics