added terminating 0 for easy iteration
Order book implementation