Added go function and updated readme