Create Machine.java

Class used as an abstraction for "Machines".