Thin groups of prime power order and thin Lie Algebras