Basic Machines and How They Work