Start of a psuedo-trading system in Java