Added readme, and updated code.