Added to Machine class and added Hero and Enemy machines