Attempt 1, HBox and VBox implementation.