Building UI for calculator