Learning Interactions Among Objects Through Spatio-Temporal Reasoning