figured out what executeOrders does and wrote method

Stock class now finished; application appears to be working.