added level select functionality and some win/lose functionality