wrote main logic and compiled. having linking errors with armadillo