Solutions to British Informatics Olympiad papers