A type of medication frequently prescribed to treat ADHD and other diseases may enhance cognitive functio