C Dynamically Create Array From Number