mowgli ate dal , rice and yogurt and studied business administration , possessed of a photographic memory , completing his homework or acing tests no matter how many hits of the bong or lines of coke or shots of tequila .