WPF week 2 assignment