Python script for parsing and creating proper citations.