update my old code for basestation
add a new constructor API for BaseStation to support different strategy for coding assignment
add a cleaner output stream