Implement correct attention masking | Applied Intuition Interview Question