Working on middle way
Added c array declariation
All tests pass