Completed bug exercise