Coding Exercise for BT