Adopted hw4 layout and styling