Added interactive function and updated README