added c# homeworks part 2, including arrays