Application of Tree Parity Machine for key generation for symmetric cryptography