actually working insertion
added searching and a console to test things
removed extra insertion stuff at bottom