sort of working turns

have partly got turns work their are a few bugs that i need to fix