added init call to ledarray in main