Apple interview question

Implement aligned malloc free function. Also some questions about bit manipulation.