Added Machine and Part classes and updated Character.java