Work from PC 9/9/2014 12:40

Worked on next_empty and set next_empty a little.