Re-initialized Arrays

Based on Prof. corrections, changed the initialized arrays from single
element to entire array at once.