0

Write a function placeAt that takes an array and an index.
It places 1 at a given index with these properties:
if array at index position is 0, place 1 at index position.
if array at index position is not 0, we need to shift items left or right to make room
Examples:
[a, b, 0, c, d, 0] placeA...