Code completed first draft of a basic BJ program